﻿using StarsAdmin.Core.Attributes;
using System.ComponentModel.DataAnnotations;

namespace StarsAdmin.Application.Menu.Dtos
{
    public class ImportMenuInput
    {
        /// <summary>
        /// 导入的菜单列表
        /// </summary>
        [Required(ErrorMessage = "menus 字段是必须的")]
        [NotEmptyCollection(ErrorMessage = "导入的菜单集合不能为空")]
        public List<AddMenuInput> Menus { get; set; }
    }
}